<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="back/include :: header('新增人才发展')" />
<!--    <th:block th:include="back/include :: datetimepicker-css" />-->
    <th:block th:include="back/include :: summernote-css" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-job-add">
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">职位名称：</label>
                    <div class="col-sm-8">
                        <input name="name" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">工作地点：</label>
                    <div class="col-sm-8">
                        <input name="address" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">职位类别：</label>
                    <div class="col-sm-8">
                        <input name="cate" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">月薪：</label>
                    <div class="col-sm-8">
                        <input name="salary" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">发布日期：</label>
                    <div class="col-sm-8">
                        <div class="input-group date">
                            <input name="publishDate" class="form-control" placeholder="yyyy-MM-dd" type="text">
                            <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">工作性质：</label>
                    <div class="col-sm-8">
                        <input name="nature" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">工作经验：</label>
                    <div class="col-sm-8">
                        <input name="experience" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">最低学历：</label>
                    <div class="col-sm-8">
                        <input name="education" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">招聘人数：</label>
                    <div class="col-sm-8">
                        <input name="num" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">岗位职责：</label>
                    <div class="col-sm-8">
                        <input name="work" class="form-control" type="text">
                    </div>
                </div>
            </div>
<!--            <div class="form-group">-->
<!--                <label class="col-sm-3 control-label">内容：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input type="hidden" class="form-control" name="content">-->
<!--                    <div class="summernote" id="content"></div>-->
<!--                </div>-->
<!--            </div>-->
        </form>
    </div>
    <th:block th:include="back/include :: footer" />
    <th:block th:include="back/include :: datetimepicker-js" />
    <th:block th:include="back/include :: summernote-js" />
    <script th:inline="javascript">
        var prefix = ctx + "custom/job"
        $("#form-job-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-job-add').serialize());
            }
        }

        $("input[name='publishDate']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
    </script>
</body>
</html>